Jump To:
Technical Q&As are short question and answer formatted pages that provide answers to questions frequently received at Apple Developer Technical Support.

Document Descriptions
On Off
Display

Sort by
Title
Sorted by
Topic
Sort by
Date
Rendezvous and wake from sleep (HTML)
QA1290: Explains why applications that use Rendezvous should stay registered and continue browsing on sleep.
Carbon 2003-09-18
Rendezvous enforces the service type format in Panther (HTML)
QA1198: Explains why registering a Rendezvous service might fail on Panther.
Carbon 2004-03-23
Rendezvous enforces the TXT record format in Panther (HTML)
QA1306: Explains how mDNSResponder enforces the proper TXT record format in Panther.
Carbon 2004-07-14
The Rendezvous Name is not the Rendezvous name (HTML) ()
QA1228: Explains why you should use the Computer Name when advertising a Rendezvous service.
Carbon 2004-03-05
Rendezvous TXT record rate limiting in Panther (HTML)
QA1293: Explains how mDNSResponder implements TXT record rate limiting in Panther.
Carbon 2003-10-23
Replacing OpenPort in Carbon (HTML) ()
QD66: Discusses a potential crashing problem when Carbonizing code that uses black and white GrafPorts.
Carbon 2000-11-08
Resolves may return an IPv6 address in Panther (HTML)
QA1298: Explains why you get an IP address of 0.0.0.0 when resolving a Rendezvous service.
Carbon 2005-01-10
Resource forks in Mach-O binaries (HTML) ()
QA1175: Advises against using resource forks in Mach-O binaries.
Carbon 2002-08-07
Retrieving Data from AEDesc Records - do not use the dataHandle field (HTML) ()
QA1139: Describes the correct way to access data stored in AEDesc records.
Carbon 2002-04-10
RunApplicationEventLoop and Thread Manager (HTML)
QA1061: Describes how to yield to cooperative (Thread Manager) threads from a RunApplicationEventLoop-based application.
Carbon 2001-10-10
Saving the current Core Graphics Path (HTML)
QA1056: Explains that the Core Graphics save and restore GState APIs do not affect the path.
Carbon 2001-10-02
SCSIAction and IOSCSIUserClient on Mac OS X 10.2 (HTML) ()
QA1201: Describes migrating to a new API for SCSI Parallel devices starting with Mac OS X 10.2.
Carbon 2002-09-13
Securely Erasing, Accessing and Dismounting a Macintosh Partition (HTML) ()
FL11: Set up a disk for secure erasures. Resources with information on magnetic disks, information recovery.
Carbon 1999-01-11
Selecting a specific sound input source (HTML) ()
Deprecated - SND10: Using the sound input driver to select specific sound input sources.
Carbon 1998-01-16
Sending an Email (HTML)
QA1084: Shows how to create an email in the user's prefered email application.
Carbon 2004-11-05
Sequence Grabber - Determining the capture resolution of an IIDC device (HTML)
QA1403: Discusses how to determine the resolution of a captured image from an IIDC device
Carbon 2005-01-06
Server Endpoint 'qlen' Limit (HTML) ()
Deprecated - NW38: Tells how to determine the maximum 'qlen' value which limits the number of supported handoff endpoints.
Carbon 1996-08-21
SetFontInfoForSelection incorrect prototype (HTML)
QA1375: Describes the incorrect prototyping of the SetFontInfoForSelection API and gives a workaround.
Carbon 2004-10-04
Setting a Control's Variant Field (HTML) ()
Deprecated - TB63: Details how to change the variant of a custom control after creating the control.
Carbon 1999-05-03
Setting a UserPane's feature (HTML) ()
TB64: Explains how to set up the control attributes when creating controls, and UserPanes in particular.
Carbon 1999-09-27
Setting Audio Input Gain (HTML) ()
Deprecated - SND11: Setting audio input gain under Mac OS 8.1.
Carbon 1998-02-10
Setting environment variables for user processes (HTML)
QA1067: Tells how to set environment variables for user processes.
Carbon 2001-10-25
Setting request headers in URL Access (HTML) ()
Deprecated - QA1073: Explains how to work around a bug in URL Access when setting request headers.
Carbon 2002-09-10
Setting the preferred CMM programatically? (HTML)
QA1086: Uses the NCMConcatProfileSet structure to specify the CMM to be used to make the CMWorldRef with the NCWConcatColorWorld function.
Carbon 2001-10-24
siActive Channels Unsupported on Some Power Macs (HTML) ()
Deprecated - SND03: siActive Channels is unsupported on some older PowerMacs (siUnknownInfoType returned by SPBGetDeviceInfo).
Carbon 1996-06-01
Signals and Threads (HTML) ()
QA1184: Describes how threads and signals interact.
Carbon 2002-08-27
siMonitorSource Selector (HTML) ()
Deprecated - SND13: Using the sound output siMonitorAvailable, and siMonitorSource selectors.
Carbon 1998-04-12
siOSTypeInput Selectors (HTML) ()
Deprecated - SND12: The use of siOSTypeInputSource, and siOSTypeInputAvailable selectors and extracting the siOSTypeInputAvailable OSTypes returned.
Carbon 1998-04-12
siOSTypeInputAvailable Format (HTML) ()
Deprecated - SND09: The format of the data returned by the siOSTypeInputAvailable selector is SoundInfoList.
Carbon 1998-01-16
Sorting Like the Finder (HTML)
QA1159: Shows how to sort strings like the Finder's list view.
Carbon 2004-10-27
Spooling in or out of CompressPicture or CompressImage (HTML)
Deprecated - QD17: Recommends alternatives to spooling the results of CompressPicture or CompressImage to or from disk.
Carbon 1995-09-15
Static linking of user binaries on Mac OS X (HTML) ()
QA1118: Explains why static linking of user binaries is not supported on Mac OS X, and possible workarounds.
Carbon 2002-02-07
Storing file references in CFPreferences (HTML)
QA1350: Storing file references in CFPreferences
Carbon 2004-10-01
Styled Custom Dialog Items Under Nav Services (HTML) ()
TB58: Describes how to customize the font characteristics of custom items in a NavPutFile dialog.
Carbon 1999-01-11
Suppressing the "unexpectedly quit" alert (HTML)
QA1288: Describes how to suppress the "unexpectedly quit" alert.
Carbon 2003-10-10
Synchronizing Sounds to Video (HTML) ()
Deprecated - SND19: Enabling regular sound callbacks under Mac OS 9 and Sound Manager 4.0.
Carbon 1999-10-05
Synchronous SysBeep (HTML) ()
Deprecated - SND18: Obtaining a synchronous SysBeep with Sound Manager 3.1.
Carbon 1999-10-05
Synchronous TCP OTConnect Client Call Completes Before Server Responds (HTML) ()
Deprecated - NW24: Explains why an OTConnect call will complete before the server responds.
Carbon 1996-05-14
T_DATA_REQ vs M_DATA TPI Message Blocks (HTML) ()
NW42: Explains why OT passes data to a TPI module using M_DATA message blocks instead of M_PROTO+T_DATA_REQ.
Carbon 1996-10-25
Targeting DebuggingCarbonLib asserts (HTML)
Deprecated - QA1033: Describes how to focus DebuggingCarbonLib asserts to a single application.
Carbon 2001-05-04
TCP Option Sizes (HTML)
Deprecated - NW27: Tells where to get more information on TCP Option sizes and setting TCP Options.
Carbon 1996-05-14
TCP/IP Option Sizes (HTML) ()
NW62: Enumerates the TCP/IP options and their sizes for Open Transport.
Carbon 1999-04-26
Temporary Memory (HTML) ()
ME08: Discusses the tradeoff between temporary memory and system memory for short-lived memory requirements.
Carbon 1998-08-24
Text Encodings in VFS (HTML) ()
QA1173: How to handle text encodings correctly when writing a file system (VFS) plug-in for Mac OS X.
Carbon 2003-02-10
Third party VFS can't unmount on Mac OS X 10.3 (HTML)
QA1308: Describes changes in unmounting behavior for VFS plug-ins under Mac OS X 10.3 "Panther."
Carbon 2003-10-23
Timely Issues - 1904 (HTML) ()
OPS23: Explains why the beginning of the year 1904 was chosen for epoch of the Time global variable.
Carbon 1999-05-17
Translating Postscript font file names (HTML) ()
TX09: Describes how to translate a font name to a Postscript font file name.
Carbon 1997-11-17
Turning Off Core Graphics Clipping (HTML)
QA1050: Explains how to clear the clipping path for a CGContext.
Carbon 2001-07-02
Unexpected CG state changes (HTML)
QA1045: Explains why the Core Graphics drawing state sometimes changes for no apparent reason.
Carbon 2001-07-02
Updating OpenGL Contexts (HTML) ()
QA1209: When and why to update an OpenGL context in response to system and user actions.
Carbon 2003-06-19
Updating the TXT record of a Rendezvous service (HTML)
QA1302: Explains how to update a Rendezvous TXT record while running on either Jaguar or Panther.
Carbon 2004-07-14
URL Access and the Missing Progress Dialog (HTML) ()
Deprecated - QA1140: Explains a known bug in URL Access related to progress dialogs.
Carbon 2002-09-23
URL Access vs. CFNetwork (HTML)
QA1291: Explains when to choose URL Access or CFNetwork when downloading files from within your application.
Carbon 2003-10-29
Using AppleScript to send an email with an attachment (HTML) ()
QA1018: Explains how to send an attachment with an email message using an AppleScript.
Carbon 2002-01-04
Using Clip Region and Buffer Rectangles with OpenGL Carbon (HTML) ()
QA1222: Shows the basics of using buffer rectangles and clip regions with AGL.
Carbon 2002-12-19
Using cmPathBased profile locations on Mac OS X (HTML) ()
QA1203: Shows how to correctly specify cmPath-based profile locations on Mac OS X
Carbon 2002-11-06
Using Navigation Services to filter QuickTime files (HTML) ()
QA1152: Using the CanQuickTimeOpenFile function in a Navigation Services filter to display files that QuickTime can open.
Carbon 2002-07-15
Using qd and QDGlobals (HTML) ()
Deprecated - QD40: Why a sample program compiled with SC may give the link error: undefined entry qd. Provides a solution.
Carbon 1996-02-09
Using Sound control panel to configure the sound input settings (HTML) ()
SND17: Under Mac OS 9.0, configuring sound input settings isn't possible after application launch.
Carbon 1999-10-05
Using Temporary Memory with OpenPicture (HTML)
Deprecated - QD20: Provides several techniques of causing OpenPicture to allocate temporary memory for a picture handle.
Carbon 1996-02-01
Using the Wide Routines in <FixMath.h> (HTML)
TB14: Details the Wide routines listed in the FixMath.h header (WideDivide, WideCompare, WideBitShift, WideShift, etc.).
Carbon 1995-06-01
The 'vers' Resource and Your Place in the World (HTML)
TX14: Setting the correct country code in the 'vers' resource to reflect the application's localization.
Carbon 2000-05-01
WaitMouseUp documentation errata (HTML)
QA1008: Specifies the correct behavior of the WaitMouseUp function.
Carbon 2001-02-27
What is the minimal set of Carbon Events I need to override in order to implement a simple custom push button? (HTML) ()
QA1210: Details the minimal set of Carbon Events needed to implement a simple custom push button HIView.
Carbon 2002-11-12
Why am I drawing directly to the screen? (HTML)
QA1015: Explains why drawing to a window's backbuffer can affect the upper left corner of the screen instead.
Carbon 2004-02-19
Why doesn't my Scrolling Text Box control work in a compositing window? (HTML)
QA1324: Explains why some older controls do not function properly in compositing windows and points to a replacement.
Carbon 2003-11-13
Why isn't my edit text box in my Navigation dialog's custom area working on 10.3? (HTML)
QA1315: Explains a bug in the Mac OS X 10.3 Navigation Services Custom Area involving the EditText and its work around.
Carbon 2003-10-28
Why isn't my Static Text Control deactivating when my other controls are? (HTML) ()
QA1125: Explains why a Static Text Control is not deactivating when the other controls are.
Carbon 2002-03-11
Window Manager and EraseRect (HTML)
Deprecated - QD26: Why WindowManager causes a flicker using EraseRect and provides a solution for this problem.
Carbon 1995-09-15
X11 FAQ (HTML) ()
QA1232: Frequently Asked Questions about using Apple's X Window System (X11) implementation.
Carbon 2003-11-17
Yielding Time Without Getting Events (HTML)
PS06: Describes how to yield processor time to other processes without accepting user interface events.
Carbon 2000-10-16
Allocate and Disk Full Error (HTML) ()
FL12: Discusses a problem with AFP volumes displaying incorrect free space, and returning disk full errors.
Cocoa 1999-07-21
Avoiding the -42 error with DiscRecording (HTML)
QA1292: Explains how to workaround the -42 error when using the DiscRecording API.
Cocoa 2004-05-25
Background-only apps with NSStatusItems become active in 10.1 on NSStatusItem clicks (HTML)
QA1081: Preventing background-only apps from activating when their NSStatusItem(s) are clicked in Mac OS X 10.1.
Cocoa 2001-10-30
BOM characters in 'utxt' clipboard flavor (HTML) ()
QA1221: Explains the use of the BOM character in 'utxt' scrap data
Cocoa 2003-01-20
Calling an AppleScript and providing parameters from an Application (HTML) ()
QA1111: Explains calling and providing parameter values to an AppleScript event handler from an application written in C.
Cocoa 2002-03-13
CFXML to CFPropertyListRef (and back!) (HTML) ()
QA1208: Describes to how save and restore a CFPropertyListRef to and from an XML file.
Cocoa 2003-08-29
CGBitmapContextCreate Supported Color Spaces (HTML)
QA1037: Lists the color space and alpha info combinations currently supported by CGBitmapContextCreate.
Cocoa 2004-09-09
CGContext Bounds (HTML)
QA1048: Explains how to determine the bounds of a CGContext.
Cocoa 2001-07-02
CGContextAddLineToPoint, CGContextAddCurveToPoint, et. al. (HTML)
QA1049: Explains why the CGContextAddXYZ APIs don't draw anything immediately.
Cocoa 2001-07-02
CGContextClosePath (HTML)
QA1046: Explains when you should call CGContextClosePath.
Cocoa 2001-10-02
CGImageRef contents are immutable (HTML) ()
QA1276: Explains that CGImageRef contents are considered immutable once created.
Cocoa 2003-07-17
Changing the TCP Window Size (HTML)
NW47: Describes how to change the TCP window size in Open Transport.
Cocoa 1997-03-14
Comparing selectors in Cocoa-Java code (HTML)
QA1069: Explains why Objective-C and Java selectors appear to be the same name but equality tests fail.
Cocoa 2001-08-31
Converting Simplified Chinese (HTML) ()
TX06: Describes how to convert Macintosh Simplified Chinese encoding into GB2312.
Cocoa 1996-02-09
Converting to Precomposed Unicode (HTML) ()
QA1235: Describes how to convert a string to precomposed Unicode.
Cocoa 2003-02-07
Debugging Graphics with QuartzDebug (HTML) ()
QA1236: Explains how to use QuartzDebug to debug graphics issues.
Cocoa 2003-02-25
Detecting specific ROM-in-RAM Mac (HTML) ()
Deprecated - HW49: Identifying a Mac by name ("iMac"), and better alternatives for determining specific features ("has Firewire").
Cocoa 1999-10-05
Determining user login/logout status (HTML)
QA1133: Tells how to determinine if a user is logged in, and how to get login/logout notification
Cocoa 2002-04-08
Developing for VFS (HTML) ()
QA1242: Describes Apple's position on developing external file systems (VFS plug-ins) for Mac OS X.
Cocoa 2003-03-26
Disabling a Processor on a Multiprocessor System (HTML) ()
QA1141: Describes how to disable a processor on a multiprocessor system for testing purposes.
Cocoa 2002-05-22
Discovering all advertised Rendezvous service types (HTML)
QA1337: Explains how to discover all Rendezvous service types being advertised on the local network.
Cocoa 2004-06-01
Don't forget to cancel your Rendezvous resolve (HTML)
QA1297: Explains why it's important to cancel a Rendezvous resolve operation.
Cocoa 2003-10-15
Downloading through a proxy server in Mac OS X (HTML)
QA1296: Explains when downloading through a proxy server will work, and when it will fail.
Cocoa 2003-10-29
Drawing a Path Multiple Times (HTML)
QA1047: Explains that path drawing operations consume the path.
Cocoa 2001-07-02
Environment Variables (HTML)
QA1255: Describes how a process gets its environment variables.
Cocoa 2003-10-29
Finding an NSView's current magnification. (HTML)
QA1346: How to discover the current magnification (zoom level) of any NSView.
Cocoa 2004-12-13
FSSetCatalogInfo versus UID and GID (HTML) ()
QA1251: Describes why FSSetCatalogInfo does not set the UID and GID of the file, and provides a work around.
Cocoa 2003-03-26
Getting a Packet Trace (HTML) ()
QA1176: Lists tools available for looking at the network packets on the wire.
Cocoa 2004-07-13
Getting NSWindow's toolbar actions to show up in Interface Builder (HTML)
QA1030: How to add the missing -toggleToolbarShown: and -runToolbarCustomizationPalette actions to Interface Builder.
Cocoa 2001-05-03